import Vue from "vue";
import vueStore from "vuex";
import home from "./home";
import search from "./search";
import detail from "./detail";
import shopCart from "./shopCart";
import user from "./user";

Vue.use(vueStore);

export default new vueStore.Store({
  modules: {
    home,
    search,
    detail,
    shopCart,
    user
  },
});
